﻿using english_sentences.Models;
using english_sentences.ViewModels;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.IdentityModel.Tokens;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;

namespace english_sentences.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    [Produces("application/json")]
    public class TokenController : BaseApiController<TokenController>
    {
        private readonly SignInManager<User> _signInManager;
        private readonly UserManager<User> _userManager;
        private readonly IConfiguration _configuration;
        public TokenController(SignInManager<User> signInManager,
            UserManager<User> userManager, IConfiguration configuration, ILogger<TokenController> logger)
            : base(logger)
        {
            _signInManager = signInManager;
            _userManager = userManager;
            _configuration = configuration;
        }
     
      

    }
}
